package com.lzj.demo.design.adapter.old;

import cn.hutool.json.JSONUtil;
import com.lzj.demo.design.adapter.dto.CreateAccount;

public class CreateAccountMqService {
    public void onMessage(String message){
        CreateAccount account = JSONUtil.toBean(message,CreateAccount.class);
        account.getNumber();
        account.getAccountDate();
        //TODO do business...
    }
}
